<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="pages/layui/css/layui.css" media="all">
</head>
<body>
<script src="pages/layui/layui.js" ></script>
<script src="js/config.js"></script>
<script src="js/reqInterceptor.js"></script>
<script src="js/device/deviceList.js" ></script>
<div style="padding: 20px; background-color: #FAFAFA;">
<div class="layui-row layui-col-space15">
<div class="layui-col-md6" style="width: 200px">
    <div class="layui-card">
        <div class="layui-card-header">设备总数</div>
        <div class="layui-card-body" id="deviceNumber">
        </div>
    </div>
</div>
    <div class="layui-col-md6" style="width: 200px">
        <div class="layui-card">
            <div class="layui-card-header">正常设备</div>
            <div class="layui-card-body" id="normalDeviceNumber">
            </div>
        </div>
    </div>
    <div class="layui-col-md6" style="width: 200px">
        <div class="layui-card">
            <div class="layui-card-header">故障设备</div>
            <div class="layui-card-body" id="malfunctionDeviceNumber">
            </div>
        </div>
    </div>
    <div class="layui-col-md6" style="width: 200px">
        <div class="layui-card">
            <div class="layui-card-header">离线设备</div>
            <div class="layui-card-body" id="offlineDeviceNumber">
            </div>
        </div>
    </div>

    <div class="layui-col-md6" style="width: 200px">
        <div class="layui-card">
            <div class="layui-card-header">缺货设备</div>
            <div class="layui-card-body" id="outofstockDeviceNumber">
            </div>
        </div>
    </div>
</div>
</div>
<blockquote class="layui-elem-quote quoteBox">
    <form class="layui-form">
        <div class="layui-inline">
            <label class="layui-form-label">设备编号</label>
            <div class="layui-input-inline">
                <input type="text" name="devicenumber" class="layui-input devicenumber" placeholder="" />
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">设备名称</label>
            <div class="layui-input-inline">
                <div class="layui-input-inline">
                    <input type="text" name="devicename" class="layui-input devicename" placeholder="" />
                </div>
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">场地名称</label>
            <div class="layui-input-inline">
                <select name="venuesid" class="venuesid" lay-filter="venuesid" lay-verify="venuesid">
                    <option value="">请选择</option>
                </select>
            </div>
        </div>
        <br/>
        <div class="layui-inline">
            <label class="layui-form-label">设备地址</label>
            <div class="layui-input-inline">
                <div class="layui-input-inline">
                    <input type="text" name="address" class="layui-input address" placeholder="" />
                </div>
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">所属分拣中心</label>
            <div class="layui-input-inline">
                <select name="sortingid" class="layui-input sortingid" lay-filter="sortingid" lay-verify="sortingid">
                    <option value="">请选择</option>
                </select>
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">所属运营商</label>
            <div class="layui-input-inline">
                <select name="operatorsid" class="layui-input operatorsid" lay-filter="operatorsid" lay-verify="operatorsid">
                    <option value="">请选择</option>
                </select>
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">所属合伙人</label>
            <div class="layui-input-inline">
                <select name="partnersid" class="layui-input partnersid" lay-filter="partnersid" lay-verify="partnersid">
                    <option value="">请选择</option>
                </select>
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">漫溢度</label>
            <div class="layui-input-inline">
                <select name="spillover" class="layui-input spillover" lay-filter="spillover" lay-verify="spillover">
                    <option value="">请选择</option>
                </select>
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">设备状态</label>
            <div class="layui-input-inline">
                <select name="devicestatus" class="layui-input devicestatus" lay-filter="devicestatus" lay-verify="devicestatus">
                    <option value="">请选择</option>
                    <option value="1">正常</option>
                    <option value="3">离线</option>
                    <option value="2">故障</option>
                </select>
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">营业状态</label>
            <div class="layui-input-inline">
                <select name="isflag" class="layui-input isflag" lay-filter="isflag" lay-verify="isflag">
                    <option value="">请选择</option>
                    <option value="2">正常</option>
                    <option value="1">禁用</option>
                </select>
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">创建时间</label>
            <div class="layui-input-inline">
                <input type="text" name="createTime" class="layui-input createTime" id="test10" placeholder=" - ">
            </div>
        </div>
        <a class="layui-btn" lay-submit lay-filter="formDemo" id="BtnSouSuo" data-type="reload">搜索</a>
        <a class="layui-btn" lay-filter="formDemo2" id="export" data-type="reload">导出</a>
        <a class="layui-btn" lay-filter="formDemo3" id="exportQRCode" data-type="reload">导出二维码</a>
        <a class="layui-btn" lay-filter="formDemo4" id="upall" data-type="reload">批量升级</a>
        <a class="layui-btn" lay-filter="formDemo5" id="addDevice" data-type="reload">新增设备</a>
    </form>
</blockquote>

<table class="layui-hide" id="test" lay-filter="test"></table>

<script type="text/html" id="AppInfoListBar">
    <div class="layui-btn-container">
        <button  class="layui-btn layui-btn-xs" lay-event="edit" lay-href="#">编辑</button >
        <button  class="layui-btn layui-btn-xs" lay-event="GoosList" lay-href="#">商品列表</button >
        <button  class="layui-btn layui-btn-xs" lay-event="clean" lay-href="#">清理记录</button >
        <button  class="layui-btn layui-btn-xs" lay-event="up" lay-href="#">升级</button >
        <button  class="layui-btn layui-btn-xs" lay-event="del" lay-href="#">删除</button >
    </div>
</script>
</body>
</html>